
package com.chongchong.flow.wrapper;

import com.chongchong.core.mp.support.BaseEntityWrapper;
import com.chongchong.core.tool.utils.BeanUtil;
import com.chongchong.flow.entity.FlowCategory;
import com.chongchong.flow.vo.FlowCategoryVo;

/**
 * 附件表包装类,返回视图层所需的字段
 *
 * @author
 * @since 2021-12-16
 */
public class FlowCategoryWrapper extends BaseEntityWrapper<FlowCategory, FlowCategoryVo> {

    public static FlowCategoryWrapper build() {
        return new FlowCategoryWrapper();
    }

	@Override
	public FlowCategoryVo entityVO(FlowCategory flowCategory) {
		FlowCategoryVo flowCategoryVo = BeanUtil.copy(flowCategory, FlowCategoryVo.class);

		return flowCategoryVo;
	}

}
